Class DiscountUpdate

Description

This Class represents a dataobject for updating a Discount



			
Variable Summary
string $Code
string $DateCreated
string $DateExpire
int $Id
int $Limit
int[] $ProductIds
string $Title
string $Type
int $UseCount
double $Value
int $Vat
Variables
int $AmountSpent

The spent amount of the Discount

string $Code

The code of the Discount

string $DateCreated

The the date the Discount was created

string $DateExpire

The expiry date of the Discount (empty for none)

int $Id

The id of the Discount

int $Limit

The the useage limit of the Discount

int[] $ProductIds

The ids of the products related to this Discount

string $Title

The title of the Discount

string $Type

The type of the Discount ('p' for percentage, 'f' for fixed amount)

int $UseCount

The use count of the Discount

double $Value

The value of the Discount (either percentage of fixed amount according to the Type)

int $Vat

Wether or not the Discount has VAT

Documentation generated on Thu, 26 Jul 2018 13:22:46 +0000 by phpDocumentor 1.4.4